package com.hframe.type;

import com.hframe.typefilter.DateToString;

import java.util.Date;


public class TDate extends T<Date> {

    public TDate() {
        this.className = Date.class;
    }

    public TDate(Date object) {
        super(object);
        this.className = Date.class;
    }

    public String out(String format) {
        String ret = DateToString.format(object, format);
        return null != ret ? ret : "";
    }
}
